package com.sunmnet.j2ee.bean.powerdb.designer.chart;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * <PRE>
 * chart中的shape对象集合
 * </PRE>
 * <B>项    目：</B>J2EE开发平台
 * <B>技术支持：</B>三盟科技 (c) 2016
 *
 * @author 黄坚：huangjian@sunmnet.com
 * @version 1.0 2016/7/29
 * @since jdk版本：jdk1.7
 */
public class DomainShapeInfo {

	private String id;

	private String name;

	private BePosition position;

	private String parentId;

	private String description;

	private String shapeType;

	private String entityType;

	private String parentName;

	private String implementsNameSet;

	private String implementsIdSet;

	private List<BeAction> actions;

	private List<BeProperties> properties;

	public DomainShapeInfo() {}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BePosition getPosition() {
		return position;
	}

	public void setPosition(BePosition position) {
		this.position = position;
	}

	public List<BeAction> getActions() {
		return actions;
	}

	public void setActions(List<BeAction> actions) {
		this.actions = actions;
	}

	public String getImplementsIdSet() {
		return implementsIdSet;
	}

	public void setImplementsIdSet(String implementsIdSet) {
		this.implementsIdSet = implementsIdSet;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getShapeType() {
		return shapeType;
	}

	public void setShapeType(String shapeType) {
		this.shapeType = shapeType;
	}

	public String getEntityType() {
		return entityType;
	}

	public void setEntityType(String entityType) {
		this.entityType = entityType;
	}

	public String getImplementsNameSet() {
		return implementsNameSet;
	}

	public void setImplementsNameSet(String implementsNameSet) {
		this.implementsNameSet = implementsNameSet;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	@Override
	public String toString() {
		return new ReflectionToStringBuilder(
				this,
				ToStringStyle.MULTI_LINE_STYLE)
				.toString();
	}


	/**
	 * get properties
	 *
	 * @return java.util.List<com.sunmnet.j2ee.bean.powerdb.designer.chart.BeProperties>
	 */
	public List<BeProperties> getProperties() {
		return properties;
	}

	/**
	 * set properties
	 */
	public void setProperties(List<BeProperties> properties) {
		this.properties = properties;
	}
}